package nl.grol.yakshop.domain.repository;

import java.util.List;

import nl.grol.yakshop.domain.model.ProcessedOrder;
import nl.grol.yakshop.domain.model.YakHerd;
import nl.grol.yakshop.util.YakShopException;

public interface RepositoryI {

	YakHerd getHerd() throws YakShopException;
	
	void persistProcessedOrder( ProcessedOrder processedOrder ) throws YakShopException;
	List<ProcessedOrder> getProcessedOrdersBeforeDay( int beforeDay );
	List<ProcessedOrder> getAllProcessedOrders( );
	List<ProcessedOrder> getProcessedOrdersForCustomer( String submitterName );
	
}